package com.prs.crm.service.oa.impl;

import java.util.List;

import com.prs.crm.dao.oa.CarPermissionDao;
import com.prs.crm.domain.oa.CarPermission;
import com.prs.crm.service.impl.BaseServiceImpl;
import com.prs.crm.service.oa.CarPermissionService;

public class CarPermissionServiceImpl extends BaseServiceImpl<CarPermission, CarPermissionDao> implements CarPermissionService{

	@Override
	public List<CarPermission> getAllCarPermission() {
		return this.getDao().getAllCarPermission();
	}

	@Override
	public CarPermission getCarPermissionByDept(Integer id) {
		return this.getDao().getCarPermissionByDept(id);
	}
}
